const download = require('./index');


(async () => {
    try {
        // await donwload('https://www.baidu.com/img/bd_logo1.png2')
        await download('https://www.baidu.com/img/bd_logo1.png', {
            dynamicName: true,
        })
    } catch (e) {
        console.log(e);
    }
})()